Fixed ConnectException when restart was caused by Scanner

Fixing a bug reported by @elw00d :)

Scanner-triggered restart caused Runner to try to send 'restartComplete' message to status port but nobody listens to it in this case.

So I split 'restart' command into 'restart' (it will be called by Scanner) when no 'restartComplete' command will be sent and 'restartWithEvent' (it will be called by interactiveMode = 'restartOnKeyPress') with 'restartComplete' command.