close sockets when stopping federation (#546)
close sockets when stopping federation (#546)

when we stop a federation server, we need to close the active sockets too,
otherwise they hang around like zombies.

mmm, brainz
matrix-org/sytest,matrix-org/sytest