2 sessions, but 4 queries

The error seems to be,

SQLNestedException: Cannot get a connection, 
pool error Timeout waiting for idle object

A web search for that error gives many results including some on this site. See here, for example: