[gst] Free the pipeline immediately after EOS.

This way pipeline doesn't stay connected if the event is longer than the
audio sample played by gst plugin.