Fix some crashes when users disconnect at weird times.
Merge branch 'master' of github.com:Arctem/nmt_python_labs