fixes #89

removing the connectBlocking method by a non blocking one and using Thread.sleep instead (I know it's not very beautiful)
fixes comment on commit 2b34931