Use Concurrent instead of synchronized
Do not call getSession by default