add callback after job finished