Recline preview grid hangs when filter query fails

When using the recline preview grid, if the user enters a filter query which for some reason fails on the server, then the page hangs with the 'Loading....' spinner remaining on the page forever.