use waitout instead of trying to connecting