[WIP] force exit on lost connection



related issues #4 #9