fix potential database connection timeout error while starting crawling.