Fix test_disconnect_inproc to work on ILP64 systems