adjusted how torctl determines a full line

fixes #195
remove the socket tracker before closing the socket

fixes #196