Add osErrorTimeoutResource as return value when message cannot be put in queue during waiting period. Also set message value only when message is received. Signed-off-by: Niranjhana N <niranjhana.n@intel.com>