Fix asynchronous execution.