fix release lock on __destruct on Engine class