Crash fix

Server wont crash now, when entering wrong COM port