reopen connection if any
Merge pull request #33 from ssbunyk/master

reopen connection in case it is stopped