Adding restart support. The worker needs to be dispatched in Spring environment. The thread is not alive after fork. Also adding wait_pending command to simplify testing.
Incrementing version.