the return values aren't documented, but I'd assume this is supposed to return true if standby succeeds, yet you don't change the end return value here