make restclient do not shutdown everything