mEngine now stops all threads when being closed