Remove duplicate call to BufferHandler::close, fixes #386