Remove unnecessary terminate handler