Added terminating function for worker/client context

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Update version

Signed-off-by: selmeci <selmeci.roman@gmail.com>