Move agent out of temp folder. Shutdown on netty inject fail too.