actor: Change flag from 'running' to 'stopped'
tests: Try to fix race condition