Create acceptor in function: accept_connections