Reorder the shutdown cleanup calls so that option strings are freed last, as they may be used by other components during shutdown cleanup Change-Id: I297f6d0c3dbbb22c4d34d7866844824c8d97e940