Add unit test for the #125 scenario. Reattach after client disconnect on stdin allocated container