add thread to listen port