Change timeout, thread joining.

1. timeout set to 1min. (further discussing?)
2. all threads should be joined before quitting. Eg, quickrestart, if call to `stop` exits before it times out, `start` may not be called, because process are `STOPPING`.