Skip docker clean if docker is not running

Change-Id: I40adfe5f7b5ddea7e0d7917f34deb8a8081fe030
Closes-Bug: #1318633