Changed so we don't cast an error when closing of the bbdn socket is a success. Close() return 0 on success, not 1.