Comment cleanup
Don't return early in tryClose function

Seems more js idiomatic to wrap the following lines in an if block instead. Plus
we were originally returning false here, which feels weird for a function that
only exists for its side effects – the return value is never used.