Rain clears around Sydney, risk of flooding remains