Currently, socket closing is not elegantly handled. This is probably a bug that can be fixed quickly.