Remove `terminateHandler` implementation.