Fixed dummy's disconnect. Closes #7 and fixes #5