Fixed bug with removing metadata and stopping sender