Added a Eventchn.close function for compatibility with the UNIX bindings.