Waiting for execution each command from seq.

and some small fixes:
* RPC now works with username/passwd auth type
* ready to non-blocking operations
* move worker inside class