Remove unnecessary versions from AppSupervisor when idle.
Fixed the cosmetic problem, of audit log entries displaying more than one time, in case of WebSocket disconnect.