* Fixed a very stupid mistake by myself in the connect_and_wait function. It could...