Stop and restart server on serial firmware update

to free the serial line. Fixes #106