Implemented job retry

Signed-off-by: anrim <a@rimbe.net>