Matcha::connect
Correcting some possible issues with MatchaThread class.