poll MySQL daemon for readiness rather than always assume 2000ms