There are already cracks in the glass door before the robot dog started pounding on it.
Since she had been so sick the hospital wouldn't just discharge Piper right away especially since she had gotten better before then got sicker.
When Jo is looking for Emily she asks Benny if his contact could find her but when they were talking earlier Benny never mentioned a contact in fact he said that he couldn't get anyone to talk to him.