colourise grep output and stop pings after 5 requests