Sync as getConnection is called concurrently