shutdown datasource in shutdown hook