Improving call-c-func interrupt stuff