Fixed evaluation of _isRunning variable.
Fixed exceptions on cleaning temp variable objects.