Do not wait indefinitely for socket in QMic plugin
This works around a possible lockups with gmic-qt. Instead of waiting for the socket forever, it should only freeze for a aximum of 8 seconds.
CCBUG: 382568