Fixed exception on timeout