Fix the remote connection by adding async = false