Fixed ConnectException when restart was caused by Scanner

Fixing a bug introduced by interactiveMode patch and reported by @elw00d :)

Scanner-triggered restart causes 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.