Enabled test mode for an app
Close request objects if they support closing.