It's needed here because we need to find an open connection. However, the code was not exactly as I intended. I just pushed a fix. Working on docs now.