By default midi thru is turned on using MIDI.h, try adding
MIDI.turnThruOff();
to setup() after MIDI.begin();