poll server side thread