worker: improve resigned and archived workers functions;