New York state man gets longest-ever sentence for supporting Islamic State