Wait for  configured timeout and fail build