Make the connection pool use a Queue instead of a stack