Same way everyone else does it. You can't abstract away the underlying problem.