Added a thread that will manage the incoming connection.