Fix error in onCommand

Sending simply "9\r\n" would crash the server before,
whereas it should just reply -ERR