During error cases, we dont cleanup correctly. This commit takes care of removing the plugin, if there are errors after the pull passed. It also shuts down the plugin, if there are errors after the plugin in the enable path. Signed-off-by: Anusha Ragunathan <anusha@docker.com> Upstream-commit: 1144f8f1d4b1fd2bbf1f41bf5dad8d929d0dc06e Component: engine