Increasing timeout for test

Also releasing the lock after message processing.

Change-Id: I43af9d5bdaf383dda0efab6309d42f8144d23a02
Signed-off-by: Abhishek Kumar <abhishk2@cisco.com>