Make sure to close the connection to R

Change-Id: I7f0f73da4cf52035b6f3b95b934e3622b8b7626e