added condition variable in between fpga server and science timeline for thread syncronization