fix proxy to remove cancelled session, which cannot be reused, from session_pool