add a background service to send message
add a random connect method