Job exit status always set to 0