Increase max waiting time for async operations to have finished

The build fails on my machines because of this timeout is too short. This change allows the tests pass or should this be fixed elsewhere?