Commands: Properly shutdown the thread pool used for parallel command execution