Changed to connection pool to solve connection timeout