Remove daemon true from server run thread