still trying to shutdown properly