Implement API to stop/kill a `docker exec` process

Implements #9167 so i guess that will need to be approved first before this can be merged. I'm opening this for early review.

This is based on some changes in #9208 ( keeping the execConfig alive after it starts ).

cc @vishh