fixed resubscribe to only work on ok response