Closes the sender.
@param handler called when the sender has been closed, must not be {@code null}
See Implementation
Closes the sender.
@param handler called when the sender has been closed, must not be {@code null}