Verify that the application handles disconnects gracefully