Removing the buffer after handleIncomingTransfer()