P2P: Check os_get_random() return value more consistently