checking beacon nil before stop monitoring