exit process once job done