Add an assertion for the TCP server/client test
Write the body of shutdown()