moving to clib
 external infinite loops now caught