Small memory leak in new stream_engine

Didn't destroy mechanism.