Hi
My Nexus 5X stucked at "Just a sec" screen. When I removed my sim and restarted it, it resumed and started working fine.
I suggest, you should close your WIFI as well or go away from your WIFI zone, so that phone should not be able to connect to internet.
Regards
Farrukh