Stop RDP session capture before calling close_mod.
Merge branch 'future' of github.com:wallix/redemption into future