Make restart more reliable

Signed-off-by: chatgris <jboyer@af83.com>