Checking serial port