add restartBuid method to client class