Make sure we unload plugin before trying to load it. Change-Id: I87ac7b36378c0e70ecd101b68c8fcb8b7ea7fde8