Unregister transport on fail.