Stop pickling function upvalues for performance concerns
Manually call lua gc after sandboxing for memory concerns