Not closing the objectStream here is BAD.