Added reboot function for instances