Reset env after executing rcon to prevent crash