pause is now looping correctly as per siglongjmp issue