fixing hardcoded timeout value