detach the accept thread to handle multiple connections