fixed subscription bug: when worker recovery is active set sub.active=false at the end of sub