Remove busy loop from server