@demsey shouldn't this instead be:

s = new ThreadPoolExecutor(sessions, maxSessions, sessionIdle