Bug 453568 - RM.done() can be called twice under heavy load at termination

Change-Id: I2a02ff21a1b4a928df29b5c95c6293e7667bc48f
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/37312
Reviewed-by: Alvaro Sanchez-Leon <alvsan09@gmail.com>