Fixed bind error

Wasn't properly tearing down the unit tests so bind address error could
occur.