support get_context failing to return a pid for a window