Shutdown executor services and release connections