Add check to make sure outlet is connected before sending schedule event to socket