UC-232: Auto wrapup

* Add handler for wrapup options when gen_media terminates