Calling close method instead of accessing the method object. Doh!