BugFix: prevent user from performing any action while session is closing
(can crash if user manipulate a source when session ends).
Authored by: brunoherbelin 2018-11-29
Parent: [r1828]
Child: [r1830]