Started quit function in Server