increase timeout when receiving messages

500ms is too short for slow VMs and leads to intermittent false
failures.