fix timeout bug, see http://lists.freeswitch.org/pipermail/freeswitch-users/2010-September/063295.html