updated queue processor to clear session more often