Fix for issue #224, error thrown, no BYE sent

See issue #224, JsSIP is left in an inaccurate state and no BYE is sent after ACK timeout expires.