added in code to detect when a call drops