Updated epilogue to call closure_close. Added assertion to make sure uninit jfuncs arent called.