asyncore_thread.syncstop
replace simulator_service.close

by asyncore.close_all after thread stop