add state check to make sure start/stop done.
add restart support
add retries config to limit retry time.
version bump to 0.1.2

1. ensure final status.
2. add quickrestart support
3. add retries config to limit wait time.