Network connection lost fixes, session ping handling.