implmentation of wait_until_loaded

implemention of https://github.com/PerlRedis/perl-redis/pull/98