Fix for failing AsyncExecutorTest