Revert "fix memory leak in encoder_close (#1366)"
Revert "fix memory leak in encoder_close (#1366)"

This reverts commit 3b3eebb1373290816f2c49d221883420aabe4d8f.

commaai/openpilot,commaai/openpilot,commaai/openpilot,commaai/openpilot,commaai/openpilot,commaai/openpilot