add thrift clients, autostop after inactivity, hard restart and tests async