Fixed dead-lock when deleting HTTP session.