add a sleep to restart. appears to finally resolve https://leap.se/code/issues/3526