Serialze some more slurmctld calls for better overall performance

This is extends the logic of commit
ba58d59c2d091af37df38990b8ca32e2e6190807
to the following RPC types:
job complete
batch script complete and
job step complete