Close the GStreamer when teardown is issued
Merge branch 'support_teardown'