oxnas: backport patch fixing hang after reboot