Fixed a bug related to the cleaning up of inactive networking sessions.