Added clean-up code do OpenSLEngine.