timeout bug workaround