exec return promises; auto resume/pause when user code return promise