Simple wrapper to flow control promises