Trying to use shutdown()