made sure server and client can have persistent communication