[xmonad] Catching exceptions from getWindowAttributes