Multithreading unstable with JuMP

Errors similar to the one I get has been reported by others. I think it may be a bug in multithreading.