Adding pause and resume job functionality