Fix connection leaking issues
Start to implement site previews and renders