package dependencies
close connection gracefully
close connection gracefully