Fixed double calling BeginAcceptTcpClient's method, small refactoring