Execute eval code in =4 thread and terminate thread after 2 seconds if it hasn't finished