WP Smush 504 Gateway Timeout

I've installed WP Smush Pro on a site and when I try to open its configuration page, I receive a 504 timeout.