added ec2 mongodb waiting till its running