Cyclical Dynamics of Trade Credit with Production Networks