added shutdown call to cleanly disconnect from the opensrf network