refactored timeout for Ask