timeout system, also made reusable cilent/server objects