exit readloop when sip session is closed

darcs-hash:20081119111014-b2873-9800f099dfc627aaf0dafc7fb58e97f4dd85fe54