Fixed handling of raise (raise is ex amout to call), added time-out handling.