tests: Call `on_disconnect` with closed server

Signed-off-by: Alexandru Vasile <alexandru.vasile@parity.io>
5 jobs for 837 in 4 minutes and 43 seconds (queued for 2 seconds)
latest