Fix memory leak

RunningAction objects need to be deallocated after they are no longer needed. Otherwise they hang around until ActionObserver gets destroyed which it never does.