SerialConnection: Decrease the input buffer size when data receiving