Support "stopped" state.

Fix #6