more robust check whether dispatcher is still running