optimize SessionQueue.put