FIX: automatically timeout long running image magick commands (PR #12670)

Previously certain images may lead to convert / identify to run for unreasonable amounts of time

This adds a maximum amount of time these commands can run prior to forcing them to stop

GitHub

:heart_eyes: