Key scanner now works with connection pool