Changed close pins for sync call.