fix: remove unnecessary writeEnd call