Revert "container/test: sleeping before closing the connection"

This reverts commit c00cb8ecd416cedf964c048597c4003af1da06e7.